$OpenBSD: patch-Imakefile,v 1.2 2009/12/20 21:49:48 kili Exp $
--- Imakefile.orig	Wed May 18 22:01:00 1994
+++ Imakefile	Tue Mar 13 10:54:29 2001
@@ -4,11 +4,13 @@
 
 XCOMM Imakefile,v 2.0 1994/05/19 02:01:00 dan Exp
 
-XMLIB = -lXm
+XMLIB = ${MOTIFLIB} -lm
+
 XCOMM
-XCOMM for Dell SVR4
+XCOMM The gnuregex library is needed for the Motif file selection box widget.
 XCOMM
-EXTRA_LIBRARIES = -lc -lucb
+XCOMM 
+EXTRA_LIBRARIES =
 
 SRCS = mgdiff.c rundiff.c misc.c files.c spawn.c manual.c modal.c legend.c
 OBJS = mgdiff.o rundiff.o misc.o files.o spawn.o manual.o modal.o legend.o
